/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package projekt_db_dropbox;

import java.io.*;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import javax.swing.*;

/**
 *
 * @author FReSH
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        File set = new File("nastaveni.ini");
        majkee.vypis_strom();
 /*       Database.pripoj("F:/Drop_BOX/My Dropbox/Share/data.db");
        if (Database.test())
        {
         System.out.println("ALAL");
        } else {
            System.out.println("KKKK");
        }
        */

       if (!set.exists()) {
            System.out.println("nastaveni neni");
            MainWindow okno = new MainWindow(1);
            okno.setVisible(true);
        } else {
            System.out.println("nastaveni je");
            MainWindow okno = new MainWindow();
            okno.setVisible(true);
        }
 
        /**        String s = new String();
        System.out.println("ahoj - " + s.length());
        for (int i = 0; i < 500;i++)
        {
            s = s + 'i';
        }
        System.out.println("konec - " + s.length());
   */     // TODO code application logic here
    }

}
